import decimal

name = '哈哈哈哈'

age = 18

print('asdf%s,age%d' % (name,age))

money = 100.1100
print('asdf%s,money%15d' % (name,money))


bnum = 9.123

print('%.1f' % bnum)
from decimal import Decimal;

Decimal('222.345')
Decimal('222.345').quantize(Decimal('0.01'),rounding=decimal.ROUND_HALF_UP)
print(Decimal('222.345'))
print('%.2f' % Decimal('222.345'))